﻿#ifndef __H_PAGETESTANALYSE_H__
#define __H_PAGETESTANALYSE_H__

#include <QWidget>

class QTableWidgetItem;

namespace Ui
{
	class PageTestAnalyse;
}

class CPageTestAnalyse
	: public QWidget
{
	Q_OBJECT
public:
	CPageTestAnalyse(QWidget* parent = 0, Qt::WindowFlags f = 0);
	virtual ~CPageTestAnalyse();

	void openTestReport();

	void savePage();

	void clear();

protected:
	void init();

	void initElementTable();

	void saveExteriorTest();
	void savePhysicochemicalAnalyse();
	void saveElementValue();

	void openExteriorTest();
	void openPhysicochemicalAnalyse();
	void openElementValue();


private Q_SLOTS:
	void slotSave();
	void slotItemChanged(QTableWidgetItem* pItem);


private:
	Ui::PageTestAnalyse* m_ui;
};


#endif // __H_PAGETESTANALYSE_H__
